package com.itheima.service;

import com.itheima.common.R;
import com.itheima.common.Result;
import com.itheima.pojo.BsUser;
import com.itheima.pojo.hm.HmArticles;

public interface ArticlesService {
    Result findPage(Integer page, Integer pagesize, String keyword, Integer state);

    void add(HmArticles hmArticles);

    R modifyStatus(Integer id, Integer status);

    R deleteById(Integer id);

    R modify(Integer id, HmArticles hmArticles);

    HmArticles findById(Integer id);

    BsUser findUserId(Integer userId);
}
